<?php
/**
 * @var $this Controller
 * @var $cs CClientScript
 */

if (Yii::app()->user->isGuest) {
    $this->renderPartial('partials/index-guest');
} else {
    $this->renderPartial('partials/index-logged');
}